package com.ym521.facecheck.core

import android.content.Context
import com.ym521.facecheck.bean.ImageBitmap
import com.ym521.facecheck.callback.FaceCheckCallback

/**
 *@author Ym
 *E-mail: 2435970206@qq.com
 *createTime:2024/6/22
 *explain:
 * 图片检测引擎
 */
internal interface IFaceCheck {

    fun initSDK(mContext: Context):IFaceCheck

    fun setFaceCheckCallback(call:FaceCheckCallback)

    suspend fun faceCheckFromRgba(imgBitmap: ImageBitmap)

    suspend fun faceCheckFromRgba2(imgBitmap: ImageBitmap)

    fun release()
}